package com.sinven.service;

import java.util.List;

import com.sinven.pojo.Message;

public interface MessageService {
	boolean AddMessage(Message message) throws Exception;
	boolean DeletedMessage(long m_id) throws Exception;
	Message SelectAllMessageBySelf(long m_fromuserId) throws Exception;
	long SelectMessageCountBySelf(long m_fromuserId) throws Exception;
	List<Message> SelectMessageByOther(long m_touserId) throws Exception;
	long SelectAllMessageByOther(long m_touserId) throws Exception;
	Message SelectOneMessage(long m_id) throws Exception;
}
